package com.itheima.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author Guanxing
 * @date 2021/9/29
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "Announcement")
public class AnnouncementVo {

    private String id;//主键id
    private String title;//标题
    private String description;//描述
    private String createDate;//发表时间

}
